import 'package:yb_zsyiji_androidflutter_pro/YBNetWorkModule/YBAPi/YBAPi.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBNetWorkModule/YBAPi/YBHttpUtils.dart';


class YBMineNetWork {

  ///我的工单 待接单 已接单
  static void mineGongDanInfoData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineMyGongDanApi, parameters,success: success,fail: fail);
  }

  //微信绑定
  static void mineSettingBandingWeChatData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.POSTRequest(YBApi.mineSettingBandingWeChatAPi, parameters,success: success,fail: fail);
  }

  //圈层屏蔽管理
  static void mineSettingMyPingBiData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineSettingMyPinBiAPi, parameters,success: success,fail: fail);
  }

  //我的修改密码验证码
  static void mineSettingMyChangeYanZhengMa<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.post(YBApi.mineSettingChangeMiMaAPi, parameters,success: success,fail: fail);
  }

  //新密码
  static void mineSettingNewPassWordChangeData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.POSTRequest(YBApi.mineSettingNewPassWordAPi, parameters,success: success,fail: fail);
  }

  //新手机号
  static void mineSettingNewPhoneChangeData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.POSTRequest(YBApi.mineSettingNewPhoneAPi, parameters,success: success,fail: fail);
  }

  //我的工单详情
  static void mineMyGongDanXiangQingData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineMyGongDanXiangQingAPi, parameters,success: success,fail: fail);
  }


  //获取个人信息
  static void mineUserInfoData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineUserInfoApi, parameters,success: success,fail: fail);
  }

  //消息接口
  static void mineMessageInfoData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineMessageInfoApi, parameters,success: success,fail: fail);
  }

  //组织管理
  static void mineZuZhiManangerData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineZuZhiManagerInfoApi, parameters,success: success,fail: fail);
  }

  //组织成员
  static void mineZuZhiNumberManagerData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineZuZhiNumberManagerInfoApi, parameters,success: success,fail: fail);
  }

  //删除组织成员
  static void mineDelZuZhiNumberManagerData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.POSTRequest(YBApi.mineZuZhiDelNumberManagerInfoApi, parameters,success: success,fail: fail);
  }

  //编辑组织成员
  static void mineEditingZuZhiNumberManagerData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.post(YBApi.mineZuZhiEditingNumberManagerInfoApi, parameters,success: success,fail: fail);
  }


  //圈层主页
  static void mineQuanCengHomeData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.getRequest(YBApi.mineQuanCengHomeInfoApi, parameters,success: success,fail: fail);
  }

  //圈层编辑页
  static void mineQuanCengHomeEditingData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.post(YBApi.mineQuanCengEditingInfoApi, parameters,success: success,fail: fail);
  }

  //企业与个人编辑信息
  static void mineQiYeAndPersonEditingData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.post(YBApi.mineQiYeAndPersonInfoApi, parameters,success: success,fail: fail);
  }

  //个人在企业里显示
  static void mineMyDataInfoDisPlayInfoData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.post(YBApi.mineMyUserQiYeDisPlayInfoApi, parameters,success: success,fail: fail);
  }

  //上传图片
  static void mineuploadImageData<T>(parameters, {Success success, Fail fail}){
    YBHttpUtils.uploadImageInfo(YBApi.uploadimageStr, parameters,success: success,fail: fail);
  }

}